package net.trustie.dao;

import net.trustie.model.stackoverflow_Model;
import org.apache.ibatis.annotations.Insert;

public interface StackOverflow_Dao {	
	
	@Insert("insert into stackoverflow"
			+ "(`url`,`title`,`tags`,`content`,`favor_num`,`star_num`,`review_num`,"
			+ "`view_num`,`active_time`,`created_time`,`extracted_time`,`author`,`author_url`,`type`,`url_md5`,`source`,`edited_time`,`related_posts`)"
			
			+ " values (#{url},#{questionTitle},#{tag},#{questionContent},#{voteNum},"
			+ "#{likeNum},#{answerNum},#{viewNum},#{activeTime},#{postTime},#{extractTime},"
			+ "#{author},#{authorUrl},#{type},#{urlMD5},#{source},#{edited_time},#{relatedPost})")
			 
	public int add(stackoverflow_Model overflow_Model);
}
